<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="../js/jquery-1.4.4.js" type="text/javascript"></script>
<script src="../js/jquery.jeditable.js" type="text/javascript"></script>
<script type="text/javascript">
	$(function() {
		var url = 'login!execute'
		$(".editable").editable('login!execute', {
			indicator : "正在处理中",
			cancel : 'cancel',
			submit : 'OK'
		});
		$(".editable_textarea").editable('login!execute', {
			indicator : "正在处理中",
			type : 'textarea',
			event : 'dblclick',
			id : 'elementid',
			name : 'elementvalue',
			cancel : 'cancel',
			submit : 'OK'
		});
	});
</script>
<title>jEditable</title>
</head>
<body>
<h1 class="editable" id="header_1">Header 1</h1>
<h2 class="editable" id="header_2">Header 2</h2>
<h3 class="editable" id="header_3">Header 3</h3>
<p class="editable_textarea" id="paragraph_1">Lorem ipsum dolor sit
amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod
tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad
minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis
nisl ut aliquip ex ea commodo consequat. Duis</p>
<div class="editable_textarea" id="div_1">Lorem ipsum dolor sit
amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod
tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad
minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis
nisl ut aliquip ex ea commodo consequat. Duis</div>
</body>